package edu.mis.modules.transaction;

import com.jfinal.plugin.activerecord.Record;
import edu.mis.model.OrderList;
import edu.mis.model.Transaction;
import java.util.List;

public class TransactionService {
    public List<Record> findAllTransaction() {
        return Transaction.dao.findAllRecord();
    }
    /**
     * 查询订单详细
     * @return
     */
    public List<Record> findAllOrderDetailsById(int id){
        return OrderList.dao.findAllOrderDetailsWithCommodity(id);
    }

}
